<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>调查窗口页</title>
		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/base.css">
		<style>
			body {
			}
			.base_add_icon {
				height: 20px;
				position: absolute;
				top: 50%;
				right: 15px;
				margin-top: -11px;
			}
		</style>
	</head>
	<body>
		<div class="base_style_color base_title_Immerse" id='BarAppearance' ></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar base_title_position" >
			<a class="base_left_item" href="#" onclick="closeWin()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="title"></span>
		</div>
	</body>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/MD5.js"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript" src="../../script/push.js"></script>
	<script type="text/javascript" src="../../script/timeStampTool.js"></script>
	<script type="text/javascript">
		apiready = function() {
			$('#title').text(api.pageParam.name);
			setupSubframe();
			ReceNotifi();
		};
		function setupSubframe() {
			var y = $('.base_navigation_bar').height() + 20;
			var h = api.winHeight - y;
			api.openFrame({
				name : 'Teacher_ResearchListDetail',
				url : 'Teacher_ResearchListDetail.html',
				rect : {
					x : 0,
					y : y,
					w : 'auto',
					h : h
				},
				pageParam : {
					id : api.pageParam.id,
					name : api.pageParam.name
				},
				bounces : false,
				vScrollBarEnabled : true,
				hScrollBarEnabled : false
			});
		}

		//接收通知
		function ReceNotifi() {
			api.addEventListener({
				name : 'closeResearchPopu'
			}, function(ret, err) {
				//coding...
				api.closeToWin({
	                name: 'Teacher_ResearchWindow'
                });
			});
			api.addEventListener({
				name : 'keyback'
			}, function(ret, err) {
				//coding...
				closeWin();
			});
		}

		//关闭页面发送通知
		function closeWin() {
			api.sendEvent({
				name : 'openResearchPopu'
			});
		}
	</script>
</html>
</script> </html>